<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()
const onBack = () => {
  router.back()
}
</script>
<template>
  <main>
    <el-button @click="onBack">返回</el-button>
    <div>副页面</div>
  </main>
</template>
